import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userInfo: {},
    timeChange:{}
  },
  getters: {
  },
  mutations: {
    setUserInfo(state, data) {
      state.userInfo = data;
    },
    // 时间变化
    setTime(state, data) {
      state.timeChange = data;
    },
  },
  actions: {
    LogOut(){

    }
  },
  modules: {
  }
})
